package net.modul.customer.service;

import net.common.service.GeneralService;
import net.modul.customer.dao.CustOrgDao;
import net.modul.customer.dao.impl.CustOrgDaoImpl;
import net.modul.customer.vo.CustOrgVo;

/**
 * 客户机构删除业务处理
 * 
 * @author Administrator
 * 
 */
public class CustOrgDeleteService extends GeneralService {

	private CustOrgVo bean;

	@Override
	public void execute() throws Exception {
		CustOrgDao dao = new CustOrgDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(CustOrgVo bean) {
		this.bean = bean;
	}

}
